/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 666
 * Date: 2023-03-25
 * Time: 16:37
 */
 class MyThread implements Runnable{
    @Override
    public void run() {
        System.out.println("新线程");
    }
}
public class Thread2 {
    public static void main(String[] args) {
Thread t=new Thread(new MyThread());
t.start();
        System.out.println("main线程");
    }
}
